{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试平台登录</title>
    <link rel="stylesheet" href="{% static 'plugins/login/style.css' %}">
    <script src="{% static 'plugins/login/jquery.min.js' %}"></script>
    <script src="{% static 'plugins/login/supersized.3.2.7.min.js' %}"></script>
    <script src="{% static 'plugins/login/supersized-init.js' %}"></script>

    <script src="{% static 'plugins/login/jquery.validate.min.js' %}"></script>
</head>

<body>

<div class="login-container">
    <h1>欢迎使用测试平台</h1>
    <br>
    <br>
    <form action="" method="post" id="loginForm" novalidate>
        {% csrf_token %}
        <div>
            <input type="text" name="username" id="username" placeholder="请输入用户名" autocomplete="off">
        </div>
        <div>
            <input type="password" name="password" id="password" placeholder="请输入密码" autocomplete="off"  oncontextmenu="return false"
                   onpaste="return false">
        </div>
        <span style="color: red;font-size: 18px">{{ error }}</span>
        <button type="submit" id="submit">登 录</button>

    </form>
    <a href="{% url 'register' %}">
        <button type="button" class="register-tis">还没有账号？</button>
    </a>


</div>


</body>
</html>